State Listener Implementation
When creating a connection and implementing the DOFConnection.StateListener and the DOFConnection.ConnectOperationListener interfaces, note the following:
- DOFConnection.addStateListener is used to associate the StateListener with the connection.
- The ConnectOperationListener is associated with the connect operation because it is passed as a parameter in the beginConnect method.